package com.pzhu.dormitory.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 菜单角色关系
 *
 * @author
 * @email
 * @date 2021-04-17 23:59:24
 */
@Data
@ToString
@TableName("menu_role_relationship")
@ApiModel(value = "MenuRoleRelationship对象", description = "菜单角色关系")
public class MenuRoleRelationshipEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**
     * 菜单Id
     */
    @ApiModelProperty(value = "菜单Id")
    private Long menuId;
    /**
     * 角色Id
     */
    @ApiModelProperty(value = "角色Id")
    private Long roleId;

}
